package com.ipay.wechat.dao;

import com.ipay.dao.BaseDao;
import com.ipay.wechat.pojo.MerchantInfo;

public interface ApplyDao extends BaseDao<MerchantInfo> {

	void saveCompany(MerchantInfo merchantInfo);
	int saUpdateCompany(MerchantInfo merchantInfo);
	int saUpdateLegalPerson(MerchantInfo merchantInfo);
	int saUpdateSettlingAccount(MerchantInfo merchantInfo);

	public void addApplication(MerchantInfo merchantInfo);

	public MerchantInfo querryMerchantInfoByMerchantNo(String merchant_No);

	public MerchantInfo querryMerchantInfoByMobile(String mobile);

	public MerchantInfo querryInfoByOpenid(String openid);

	public MerchantInfo getInfoByOpenid(String openid);

}
